package com.example.myhotel.entity;

import com.baomidou.mybatisplus.annotation.FieldFill;
import com.baomidou.mybatisplus.annotation.TableField;
import com.fasterxml.jackson.annotation.JsonProperty;
import lombok.Data;

import java.io.Serializable;
import java.time.LocalDateTime;

@Data
public class Customers implements Serializable {
    private String id;
//    @JsonProperty(value = "username")
    private String name;

    private String email;

    private String phone;

    private String idcard;

    private String password;
    @TableField(fill = FieldFill.INSERT)
    private LocalDateTime createTime;

}
